package br.com.locautowebbd.veiculo;

import br.com.locautowebbd.util.RepositorioException;


public interface RepositorioVeiculos {

	public abstract boolean existe(int codigo) throws RepositorioException;

	public abstract void inserir(Veiculo novoVeiculo)
			throws VeiculoExistenteException, RepositorioException;

	public abstract void atualizar(Veiculo veiculo)
			throws VeiculoInexistenteException, RepositorioException;

	public abstract Veiculo procurar(int codigo)
			throws VeiculoInexistenteException, RepositorioException;

	public abstract void remover(int codigo) throws VeiculoInexistenteException,
			RepositorioException;
}